package spark.network.protocol;

import spark.network.Util;
import spark.network.protocol.Base;

public class KeepAlive extends Base {
	public static final short TYPE = 0x00;
	private static final byte[] TYPE_BYTES = Util.makeBytes(TYPE);

	public KeepAlive() {
		super(false, TYPE_BYTES);
	}

	public static KeepAlive create(byte[] buffer) {
		KeepAlive packet = new KeepAlive();
		packet.fill(buffer);
		return packet;
	}
}
